<#5343#>
The CLUE macro <#3271#>using-gcontext<#3271#> allows the programmer transparent
access to a cache of previously-created <#3272#>xlib:gcontext<#3272#> objects. As
a consequence of the <#3273#>using-gcontext<#3273#> macro, most CLUE programmers
will seldom need to explicitly create or free graphics contexts.
The caching strategy implemented by <#3274#>using-gcontext<#3274#> is intended to
minimize the number of <#3275#>xlib:gcontext<#3275#> objects created. A programmer
requests a graphics context containing a specific set of attribute
values. The <#3276#>using-gcontext<#3276#> macro creates a new <#3277#>xlib:gcontext<#3277#>
with these attributes only if such a <#3278#>xlib:gcontext<#3278#> is not already
present in its cache and the cache is not full. If the cache is full, then <#3279#>using-gcontext<#3279#> modifies a previously-cached <#3280#>xlib:gcontext<#3280#> and returns
it.
<#4725#>
<#4507#><#3281#>using-gcontext Macro<#3281#><#4507#>
#tex2html_wrap_inline10466#
<#4725#>
#tex2html_wrap_inline10468#
=0 <#5349#>=0 <#5353#>